Module: RubyAMF::LegacySandbox::RubyAMF::ParameterMappings
- Defined in:
- lib/rubyamf/configuration.rb
Overview
:nodoc:
Class Attribute Summary collapse
-
.always_add_to_params ⇒ Object
Returns the value of attribute always_add_to_params.
-
.mappings ⇒ Object
Returns the value of attribute mappings.
-
.scaffolding ⇒ Object
Returns the value of attribute scaffolding.
Class Method Summary collapse
Class Attribute Details
.always_add_to_params ⇒ Object
Returns the value of attribute always_add_to_params.
256 257 258 |
# File 'lib/rubyamf/configuration.rb', line 256 def always_add_to_params @always_add_to_params end |
.mappings ⇒ Object
Returns the value of attribute mappings.
256 257 258 |
# File 'lib/rubyamf/configuration.rb', line 256 def mappings @mappings end |
.scaffolding ⇒ Object
Returns the value of attribute scaffolding.
256 257 258 |
# File 'lib/rubyamf/configuration.rb', line 256 def scaffolding @scaffolding end |
Class Method Details
.register(mapping) ⇒ Object
258 259 260 261 |
# File 'lib/rubyamf/configuration.rb', line 258 def register mapping @mappings ||= [] @mappings << mapping end |
.reset ⇒ Object
263 264 265 266 267 |
# File 'lib/rubyamf/configuration.rb', line 263 def reset methods.each do |m| send(m, nil) if m =~ /[\w_]+=/ end end |