Skip to content

Conversation

@t-miyamoto-jp
Copy link

#118

Configatron::Dynamic#call returns nil when value is false.

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

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

Dynamic#call and Proc#call should return the same value, so I changed the condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant