Class: Extension
- Inherits:
-
Struct
- Object
- Struct
- Extension
- Defined in:
- app/models/admin.rb
Instance Attribute Summary collapse
-
#ext ⇒ Object
Returns the value of attribute ext.
Instance Method Summary collapse
Instance Attribute Details
#ext ⇒ Object
Returns the value of attribute ext
149 150 151 |
# File 'app/models/admin.rb', line 149 def ext @ext end |
Instance Method Details
#constant ⇒ Object
162 163 164 |
# File 'app/models/admin.rb', line 162 def constant self.ext end |
#instantiate ⇒ Object
158 159 160 |
# File 'app/models/admin.rb', line 158 def instantiate self.ext.new end |
#title ⇒ Object
154 155 156 |
# File 'app/models/admin.rb', line 154 def title self.ext.name.titleize end |
#view_name ⇒ Object
150 151 152 |
# File 'app/models/admin.rb', line 150 def view_name self.ext.name.underscore end |