class Hitman::Param

Attributes

name[RW]
type[RW]

Public Class Methods

new(name, type) click to toggle source
# File lib/hitman/param.rb, line 5
def initialize(name, type)
  @name = name
  @type = type
end

Public Instance Methods

to_s() click to toggle source
# File lib/hitman/param.rb, line 10
def to_s
  "#{name}: #{type}"
end