Module: Ruote::WithH
- Included in:
- Exp::FlowExpression
- Defined in:
- lib/ruote/util/hashdot.rb
Class Method Summary collapse
Class Method Details
.included(target) ⇒ Object
67 68 69 70 71 72 73 74 75 76 |
# File 'lib/ruote/util/hashdot.rb', line 67 def self.included(target) def target.h_reader(*names) names.each do |name| define_method(name) do @h[name.to_s] end end end end |