Skip to content

When false is set in Configatron::Dynamic, the call result becomes nil. #118

@t-miyamoto-jp

Description

@t-miyamoto-jp

In the current latest version (v4.5.0):

proc = Configatron::Proc.new { false }
proc.call
=> false

dynamic = Configatron::Dynamic.new { false }
dynamic.call
=> nil

When the value is false, the call result differs between Proc and Dynamic.
The call result should be the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions