Class: Burn::Util::Patternizer
- Inherits:
-
Object
- Object
- Burn::Util::Patternizer
- Includes:
- Debug
- Defined in:
- lib/burn/util/patternizer.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#patterns ⇒ Object
readonly
Returns the value of attribute patterns.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(spr_large) ⇒ Patternizer
constructor
A new instance of Patternizer.
Methods included from Debug
Constructor Details
#initialize(spr_large) ⇒ Patternizer
Returns a new instance of Patternizer.
5 6 7 8 9 10 |
# File 'lib/burn/util/patternizer.rb', line 5 def initialize(spr_large) @patterns = [] @width = 0 @height = 0 pattern_separator spr_large end |
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height.
4 5 6 |
# File 'lib/burn/util/patternizer.rb', line 4 def height @height end |
#patterns ⇒ Object (readonly)
Returns the value of attribute patterns.
4 5 6 |
# File 'lib/burn/util/patternizer.rb', line 4 def patterns @patterns end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
4 5 6 |
# File 'lib/burn/util/patternizer.rb', line 4 def width @width end |