rexle 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rexle.rb +1 -1
- metadata +1 -1
data/lib/rexle.rb
CHANGED
@@ -48,7 +48,7 @@ class Rexle
|
|
48
48
|
attr_accessor :name, :value
|
49
49
|
attr_reader :child_lookup
|
50
50
|
|
51
|
-
def initialize(name=nil, value='',
|
51
|
+
def initialize(name=nil, value='', attributes={})
|
52
52
|
@name, @value, @attributes = name, value, attributes
|
53
53
|
raise "Element name must not be blank" unless name
|
54
54
|
@child_elements = []
|