Class: Blufin::SiteUI
- Inherits:
-
Object
- Object
- Blufin::SiteUI
- Defined in:
- lib/core/site/site_ui.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ SiteUI
constructor
A new instance of SiteUI.
Constructor Details
#initialize(id, name) ⇒ SiteUI
Returns a new instance of SiteUI.
7 8 9 10 11 12 |
# File 'lib/core/site/site_ui.rb', line 7 def initialize(id, name) self.id = id self.name = name end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/core/site/site_ui.rb', line 5 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/core/site/site_ui.rb', line 5 def name @name end |