Class: ODDB::FiPDF::Rule
- Defined in:
- ext/fipdf/src/rules.rb,
ext/fipdf/test/rules_test.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #fulfilled? ⇒ Boolean
-
#initialize(name) ⇒ Rule
constructor
A new instance of Rule.
- #notify(event) ⇒ Object
Constructor Details
#initialize(name) ⇒ Rule
Returns a new instance of Rule.
14 15 16 17 18 |
# File 'ext/fipdf/src/rules.rb', line 14 def initialize(name) @name = name @pagebreak = 0 @lines = 0 end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'ext/fipdf/src/rules.rb', line 13 def name @name end |
Instance Method Details
#fulfilled? ⇒ Boolean
21 22 23 |
# File 'ext/fipdf/src/rules.rb', line 21 def fulfilled? false end |
#notify(event) ⇒ Object
19 20 |
# File 'ext/fipdf/src/rules.rb', line 19 def notify(event) end |