Method: Runo::Meta::Id#initialize
- Defined in:
- lib/meta/id.rb
#initialize(meta = {}) ⇒ Id
not include Runo::Meta as this is SHORT_ID, not a full id.
10 11 12 13 |
# File 'lib/meta/id.rb', line 10 def initialize( = {}) [:size] = $&.to_i if [:tokens] && [:tokens].first =~ /^\d+$/ super end |