Class: Formation::Element

Inherits:
Object
  • Object
show all
Defined in:
lib/formation/element.rb

Direct Known Subclasses

Field, Fieldset

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/formation/element.rb', line 3

def name
  @name
end

Instance Method Details

#field?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/formation/element.rb', line 5

def field?
  false
end