Class: Burn::Util::Patternizer

Inherits:
Object
  • Object
show all
Includes:
Debug
Defined in:
lib/burn/util/patternizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Debug

#log

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

#heightObject (readonly)

Returns the value of attribute height.



4
5
6
# File 'lib/burn/util/patternizer.rb', line 4

def height
  @height
end

#patternsObject (readonly)

Returns the value of attribute patterns.



4
5
6
# File 'lib/burn/util/patternizer.rb', line 4

def patterns
  @patterns
end

#widthObject (readonly)

Returns the value of attribute width.



4
5
6
# File 'lib/burn/util/patternizer.rb', line 4

def width
  @width
end