Class: Writeexcel::Worksheet::Comments

Inherits:
Collection
  • Object
show all
Defined in:
lib/writeexcel/comments.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Collection

#<<, #array

Constructor Details

#initializeComments

Returns a new instance of Comments


36
37
38
39
# File 'lib/writeexcel/comments.rb', line 36

def initialize
  super
  @visible  = false
end

Instance Attribute Details

#visible=(value) ⇒ Object (writeonly)

Sets the attribute visible

Parameters:

  • value

    the value to set the attribute visible to.


34
35
36
# File 'lib/writeexcel/comments.rb', line 34

def visible=(value)
  @visible = value
end

Instance Method Details

#visible?Boolean

Returns:

  • (Boolean)

41
42
43
# File 'lib/writeexcel/comments.rb', line 41

def visible?
  @visible
end