Class: RubyGame::Ruby
- Inherits:
-
StaticObject
- Object
- StaticObject
- RubyGame::Ruby
- Defined in:
- lib/ruby_game/ruby.rb
Instance Attribute Summary
Attributes inherited from StaticObject
Instance Method Summary collapse
-
#initialize(x, y, image_name = 'ruby') ⇒ Ruby
constructor
A new instance of Ruby.
Methods inherited from StaticObject
Constructor Details
#initialize(x, y, image_name = 'ruby') ⇒ Ruby
Returns a new instance of Ruby.
3 4 5 |
# File 'lib/ruby_game/ruby.rb', line 3 def initialize(x, y, image_name = 'ruby') super end |