Class: RedirectHelper::RedirectCdecl
- Inherits:
-
Object
- Object
- RedirectHelper::RedirectCdecl
- Defined in:
- lib/evalhook/redirect_helper.rb
Instance Attribute Summary collapse
-
#const_id ⇒ Object
readonly
Returns the value of attribute const_id.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(klass, const_id, value) ⇒ RedirectCdecl
constructor
A new instance of RedirectCdecl.
Constructor Details
#initialize(klass, const_id, value) ⇒ RedirectCdecl
Returns a new instance of RedirectCdecl.
69 70 71 72 73 |
# File 'lib/evalhook/redirect_helper.rb', line 69 def initialize(klass, const_id, value) @klass = klass @const_id = const_id @value = value end |
Instance Attribute Details
#const_id ⇒ Object (readonly)
Returns the value of attribute const_id.
66 67 68 |
# File 'lib/evalhook/redirect_helper.rb', line 66 def const_id @const_id end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
65 66 67 |
# File 'lib/evalhook/redirect_helper.rb', line 65 def klass @klass end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
67 68 69 |
# File 'lib/evalhook/redirect_helper.rb', line 67 def value @value end |