class ReVIEW::Book::PageMetric
Constants
- A5
based on review-jsbook’s default
- B5
- MetricData
Attributes
list[R]
text[R]
Public Class Methods
new(list_lines, list_columns, text_lines, text_columns, _page_per_kbyte = 1)
click to toggle source
# File lib/review/book/page_metric.rb, line 14 def initialize(list_lines, list_columns, text_lines, text_columns, _page_per_kbyte = 1) # page_per_kbyte is obsolete. Just for backward compatibility @list = MetricData.new(list_lines, list_columns) @text = MetricData.new(text_lines, text_columns) end
Public Instance Methods
==(other)
click to toggle source
# File lib/review/book/page_metric.rb, line 27 def ==(other) self.list == other.list && self.text == other.text end