Class: Application

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



13
14
15
# File 'lib/codefusion.rb', line 13

def args
  @args
end

#classroomObject (readonly)

Returns the value of attribute classroom.



13
14
15
# File 'lib/codefusion.rb', line 13

def classroom
  @classroom
end

#listenerObject (readonly)

Returns the value of attribute listener.



13
14
15
# File 'lib/codefusion.rb', line 13

def listener
  @listener
end

#viewObject (readonly)

Returns the value of attribute view.



13
14
15
# File 'lib/codefusion.rb', line 13

def view
  @view
end