Skip to content

Commit

Permalink
Don't prevent Table::Cell from being documented
Browse files Browse the repository at this point in the history
  • Loading branch information
practicingruby committed Mar 6, 2014
1 parent 97f34f6 commit 0f90ad7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
--main README.md
--title 'Prawn Documentation'
--no-private
lib/prawn/**/*.rb
-
CONTRIBUTING.md
COPYING
Expand Down
2 changes: 1 addition & 1 deletion lib/prawn/table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# This is free software. Please see the LICENSE and COPYING files for details.

require_relative 'table/column_width_calculator'
require_relative 'table/cells'
require_relative 'table/cell'
require_relative 'table/cells'
require_relative 'table/cell/in_table'
require_relative 'table/cell/text'
require_relative 'table/cell/subtable'
Expand Down
1 change: 0 additions & 1 deletion lib/prawn/table/cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def max_width
# this span group. They know their own width / height, but do not draw
# anything.
#
# @private
attr_reader :dummy_cells

# Instantiates a Cell based on the given options. The particular class of
Expand Down
2 changes: 1 addition & 1 deletion lib/prawn/table/cell/in_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
module Prawn
class Table

# @private
class Cell

# This module extends Cell objects when they are used in a table (as
# opposed to standalone). Its properties apply to cells-in-tables but not
# cells themselves.
#
# @private
module InTable

# Row number (0-based).
Expand Down
1 change: 1 addition & 0 deletions lib/prawn/table/cell/subtable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Cell

# A Cell that contains another table.
#
# @private
class Subtable < Cell

attr_reader :subtable
Expand Down
1 change: 1 addition & 0 deletions lib/prawn/table/cell/text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Cell
# A Cell that contains text. Has some limited options to set font family,
# size, and style.
#
# @private
class Text < Cell

TextOptions = [:inline_format, :kerning, :size, :align, :valign,
Expand Down

0 comments on commit 0f90ad7

Please sign in to comment.