Class: Boxspring::Show

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

Instance Method Summary collapse

Methods included from Taggable

#tags

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Boxspring::Base

Instance Method Details

#private ⇒ Object



32
33
34
# File 'lib/boxspring/show.rb', line 32

def private
  @_private || false
end

#private=(_private) ⇒ Object



28
29
30
# File 'lib/boxspring/show.rb', line 28

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