Skip to content

Commit

Permalink
Try to appease the cops about method_missing.
Browse files Browse the repository at this point in the history
Signed-off-by: Josep M. Blanquer <blanquer@gmail.com>
  • Loading branch information
blanquer committed Aug 11, 2016
1 parent cf5c653 commit cbfccef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/praxis-blueprints/config_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ def to_hash
@hash
end

def respond_to_missing?(method_name, include_private = false)
true
end

def method_missing(name, value, *rest, &block)
if (existing = @hash[name])
if block
Expand Down

0 comments on commit cbfccef

Please sign in to comment.