class BlueClothText
Public Class Methods
new(string, options = BlueCloth::DEFAULT_OPTIONS)
click to toggle source
Calls superclass method
# File lib/acts_as_markup/exts/bluecloth.rb, line 4 def initialize(string, options = BlueCloth::DEFAULT_OPTIONS) @string = string super end
Public Instance Methods
blank?()
click to toggle source
# File lib/acts_as_markup/exts/bluecloth.rb, line 13 def blank? @string.blank? end
to_s()
click to toggle source
# File lib/acts_as_markup/exts/bluecloth.rb, line 9 def to_s @string end