Revision 1331980d
Added by Marc Dequènes over 10 years ago
lib/cyborghood/order.rb | ||
---|---|---|
end
|
||
|
||
class CommandParameter < String
|
||
attr_reader :content_type
|
||
attr_reader :mime_type
|
||
|
||
def initialize(content, content_type = nil)
|
||
def initialize(content, mime_type = nil)
|
||
super(content)
|
||
@content_type = content_type
|
||
@mime_type = mime_type
|
||
end
|
||
|
||
def content
|
Also available in: Unified diff
[evol] adapted MailOrderParser from TMail to Mail