Class: Lockdown::Controller
- Inherits:
-
Object
- Object
- Lockdown::Controller
- Defined in:
- lib/lockdown/permission.rb
Instance Attribute Summary collapse
-
#access_methods ⇒ Object
Returns the value of attribute access_methods.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Controller
constructor
A new instance of Controller.
Constructor Details
#initialize(name) ⇒ Controller
Returns a new instance of Controller.
8 9 10 |
# File 'lib/lockdown/permission.rb', line 8 def initialize(name) @name = name end |
Instance Attribute Details
#access_methods ⇒ Object
Returns the value of attribute access_methods.
6 7 8 |
# File 'lib/lockdown/permission.rb', line 6 def access_methods @access_methods end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/lockdown/permission.rb', line 6 def name @name end |