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



22
23
24
# File 'lib/boxspring/tag.rb', line 22

def private
  @_private || false
end

#private=(_private) ⇒ Object



18
19
20
# File 'lib/boxspring/tag.rb', line 18

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