Module: Fix::Helper::LetReaderHelper

Included in:
LetAccessorHelper, RequirementHelper
Defined in:
lib/fix/helper/let_reader_helper.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object



4
5
6
# File 'lib/fix/helper/let_reader_helper.rb', line 4

def method_missing name, *args, &block
  @defs.has_key?(name) ? @defs.fetch(name).call : super
end