Module: Halogen::Properties::InstanceMethods

Defined in:
lib/halogen/properties.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#propertiesHash


31
32
33
34
35
# File 'lib/halogen/properties.rb', line 31

def properties
  render_definitions(Definition.name) do |definition, result|
    result[definition.name] = definition.value(self)
  end
end

#renderHash


25
26
27
# File 'lib/halogen/properties.rb', line 25

def render
  super.merge(properties)
end