Class: ViewModel::Metadata
- Inherits:
-
Struct
- Object
- Struct
- ViewModel::Metadata
- Defined in:
- lib/view_model.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#migrated ⇒ Object
Returns the value of attribute migrated.
-
#new ⇒ Object
(also: #new?)
Returns the value of attribute new.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#view_name ⇒ Object
Returns the value of attribute view_name.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
25 26 27 |
# File 'lib/view_model.rb', line 25 def id @id end |
#migrated ⇒ Object
Returns the value of attribute migrated
25 26 27 |
# File 'lib/view_model.rb', line 25 def migrated @migrated end |
#new ⇒ Object Also known as: new?
Returns the value of attribute new
25 26 27 |
# File 'lib/view_model.rb', line 25 def new @new end |
#schema_version ⇒ Object
Returns the value of attribute schema_version
25 26 27 |
# File 'lib/view_model.rb', line 25 def schema_version @schema_version end |
#view_name ⇒ Object
Returns the value of attribute view_name
25 26 27 |
# File 'lib/view_model.rb', line 25 def view_name @view_name end |