Module: RubyAMF::LegacySandbox::RubyAMF::ParameterMappings

Defined in:
lib/rubyamf/configuration.rb

Overview

:nodoc:

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.always_add_to_paramsObject

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

.mappingsObject

Returns the value of attribute mappings.



256
257
258
# File 'lib/rubyamf/configuration.rb', line 256

def mappings
  @mappings
end

.scaffoldingObject

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

.resetObject



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