Class: Boxspring::Tag

Inherits:
Base
  • Object
show all
Defined in:
lib/boxspring/tag.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Boxspring::Base

Instance Method Details

#privateObject



20
21
22
# File 'lib/boxspring/tag.rb', line 20

def private
  @_private || false 
end

#private=(_private) ⇒ Object



16
17
18
# File 'lib/boxspring/tag.rb', line 16

def private=( _private )
  @_private = ( ( _private == true ) || ( _private =~ /true/i ) ) || false
end