Class: Application
- Inherits:
-
Object
- Object
- Application
- Defined in:
- lib/codefusion.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#classroom ⇒ Object
readonly
Returns the value of attribute classroom.
-
#listener ⇒ Object
readonly
Returns the value of attribute listener.
-
#view ⇒ Object
readonly
Returns the value of attribute view.
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Application
constructor
A new instance of Application.
Constructor Details
#initialize(args = []) ⇒ Application
Returns a new instance of Application.
15 16 17 18 19 |
# File 'lib/codefusion.rb', line 15 def initialize(args = []) @args = args @view = View.new check_args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
13 14 15 |
# File 'lib/codefusion.rb', line 13 def args @args end |
#classroom ⇒ Object (readonly)
Returns the value of attribute classroom.
13 14 15 |
# File 'lib/codefusion.rb', line 13 def classroom @classroom end |
#listener ⇒ Object (readonly)
Returns the value of attribute listener.
13 14 15 |
# File 'lib/codefusion.rb', line 13 def listener @listener end |
#view ⇒ Object (readonly)
Returns the value of attribute view.
13 14 15 |
# File 'lib/codefusion.rb', line 13 def view @view end |