Class: SuperCallbacks::Prepended

Inherits:
Module
  • Object
show all
Defined in:
lib/super_callbacks/prepended.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ Prepended

Returns a new instance of Prepended.



10
11
12
# File 'lib/super_callbacks/prepended.rb', line 10

def initialize(base)
  @base = base
end

Instance Attribute Details

#baseObject

Returns the value of attribute base.



8
9
10
# File 'lib/super_callbacks/prepended.rb', line 8

def base
  @base
end