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.



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

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.



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

def visible=(value)
  @visible = value
end

Instance Method Details

#visible?Boolean

Returns:

  • (Boolean)


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

def visible?
  @visible
end