Sha256: a595deab32ac8a7f8f1a896271382516042b27043cec2e2eba5002da08871159
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
module Rails::MetaTags class TestObject include ModelSupport meta do type 'website' title :title description do |o| o.subtitle end end def title 'new article' end def subtitle 'new hotness' end end class TestObjectChildNoMeta < TestObject end class TestObjectChildOwnMeta < TestObject meta do url 'http://test.com' end def title 'new sub article' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_meta_tags-0.2.9 | spec/support/models.rb |
rails_meta_tags-0.2.8 | spec/support/models.rb |