class ReVIEW::Book::PageMetric

Constants

A5
B5
MetricData

Attributes

list[R]
page_per_kbyte[R]
text[R]

Public Class Methods

new(list_lines, list_columns, text_lines, text_columns, page_per_kbyte) click to toggle source
# File ../../../../../lib/review/book/page_metric.rb, line 18
def initialize(list_lines, list_columns, text_lines, text_columns, page_per_kbyte)
  @list = MetricData.new(list_lines, list_columns)
  @text = MetricData.new(text_lines, text_columns)
  @page_per_kbyte = page_per_kbyte
end

Public Instance Methods

==(other) click to toggle source
# File ../../../../../lib/review/book/page_metric.rb, line 31
def ==(other)
  self.list == other.list && self.text == other.text && self.page_per_kbyte == other.page_per_kbyte
end