examples/example.rb in oxmlk-0.3.1 vs examples/example.rb in oxmlk-0.3.2
- old
+ new
@@ -23,9 +23,10 @@
ox_attr :category
ox_attr :alternate, :from => 'alt'
ox_elem :name
+ ox_elem :lame?
ox_elem :contacts, :as => [Number,Email]
ox_elem :friends, :as => [Person], :in => :friends
def say_hello(xml)
'hello'
\ No newline at end of file