Module: Nokogiri::Decorators::XBEL::Separator

Defined in:
lib/nokogiri/decorators/xbel/separator.rb

Constant Summary collapse

@@title =
' '

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.title=(title) ⇒ Object

Setter for Separator#to_s


7
8
9
# File 'lib/nokogiri/decorators/xbel/separator.rb', line 7

def self.title=(title)
  @@title = title.to_s
end

Instance Method Details

#separator?Boolean

:nodoc:


15
16
17
# File 'lib/nokogiri/decorators/xbel/separator.rb', line 15

def separator? #:nodoc:
  true
end

#to_sObject

Returns a single space.


12
13
14
# File 'lib/nokogiri/decorators/xbel/separator.rb', line 12

def to_s
  @@title
end