Module: Atom::AttrEl

Included in:
Category, Link, Text
Defined in:
lib/atom/element.rb

Instance Method Summary collapse

Instance Method Details

#[](k) ⇒ Object

for backwards compatibility



34
# File 'lib/atom/element.rb', line 34

def [] k; self.send(k.to_sym); end

#[]=(k, v) ⇒ Object



35
# File 'lib/atom/element.rb', line 35

def []= k, v; self.send("#{k}=".to_sym, v); end