Class: Double

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
ActiveModel::Conversion, ActiveModel::Validations
Defined in:
lib/generators/pixelforce_cms/templates/double.rb

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Double

Returns a new instance of Double.



6
7
# File 'lib/generators/pixelforce_cms/templates/double.rb', line 6

def initialize(attrs = {})    
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_sym, *arguments, &block) ⇒ Object



13
14
15
# File 'lib/generators/pixelforce_cms/templates/double.rb', line 13

def method_missing(method_sym, *arguments, &block)
  return ''
end

Instance Method Details

#persisted?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/generators/pixelforce_cms/templates/double.rb', line 9

def persisted?
  false
end