class Mhc::PropertyValue::Base
Public Class Methods
parse(string)
click to toggle source
# File lib/mhc/property_value.rb, line 5 def self.parse(string) return self.new.parse(string) end
Public Instance Methods
empty?()
click to toggle source
# File lib/mhc/property_value.rb, line 18 def empty? return true if @value.nil? || (@value.respond_to?(:empty?) && @value.empty?) return false end
parse(string)
click to toggle source
# File lib/mhc/property_value.rb, line 9 def parse(string) @value = string return self end
to_mhc_string()
click to toggle source
# File lib/mhc/property_value.rb, line 14 def to_mhc_string return @value.to_s end
Also aliased as: to_s