Class: RedirectHelper::RedirectCdecl

Inherits:
Object
  • Object
show all
Defined in:
lib/evalhook/redirect_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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

#klassObject (readonly)

Returns the value of attribute klass.



65
66
67
# File 'lib/evalhook/redirect_helper.rb', line 65

def klass
  @klass
end

#valueObject (readonly)

Returns the value of attribute value.



67
68
69
# File 'lib/evalhook/redirect_helper.rb', line 67

def value
  @value
end