Class: Minirails::WrappedApp

Inherits:
Struct
  • Object
show all
Defined in:
lib/minirails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#appObject

Returns the value of attribute app

Returns:

  • (Object)

    the current value of app



127
128
129
# File 'lib/minirails.rb', line 127

def app
  @app
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



127
128
129
# File 'lib/minirails.rb', line 127

def parent
  @parent
end

Instance Method Details

#callObject



137
138
139
# File 'lib/minirails.rb', line 137

def call
  app.call
end

#initObject



132
133
134
135
# File 'lib/minirails.rb', line 132

def init
  parent.init
  app.init
end

#nameObject



128
129
130
# File 'lib/minirails.rb', line 128

def name
  app.name
end