Class: CommandMapper::Gen::Types::Num

Inherits:
Object
  • Object
show all
Defined in:
lib/command_mapper/gen/types/num.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyString

Converts the num type to Ruby source code.

Returns:

  • (String)


11
12
13
# File 'lib/command_mapper/gen/types/num.rb', line 11

def to_ruby
  "Num.new"
end