class Tengai::Body
Public Class Methods
find(client, body, parser=BodyDataSheetParser)
click to toggle source
# File lib/tengai/body.rb, line 12 def self.find(client, body, parser=BodyDataSheetParser) data = client.cmd('String' => body.to_s, 'Match' => /<cr>:\s*$/) data = parser.parse(data) self.new(data) end
Public Instance Methods
==(other)
click to toggle source
# File lib/tengai/body.rb, line 18 def ==(other) id == other.id end