class Ruboty::Models::Command
Public Class Methods
new()
click to toggle source
# File lib/ruboty/models/command.rb, line 7 def initialize @name, @pattern, @description = '' end
Public Instance Methods
description(description)
click to toggle source
# File lib/ruboty/models/command.rb, line 19 def description(description) @description = description end
name(name)
click to toggle source
# File lib/ruboty/models/command.rb, line 11 def name(name) @name = name end
pattern(pattern)
click to toggle source
# File lib/ruboty/models/command.rb, line 15 def pattern(pattern) @pattern = pattern end