Class: Minirails::App

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

Direct Known Subclasses

RackApp

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



118
119
120
# File 'lib/minirails.rb', line 118

def block
  @block
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



118
119
120
# File 'lib/minirails.rb', line 118

def name
  @name
end

Instance Method Details

#callObject



122
123
124
# File 'lib/minirails.rb', line 122

def call
  block.call
end

#initObject



119
120
# File 'lib/minirails.rb', line 119

def init
end