Sha256: 52332fad184d5054ac722f12a72a60828edca108e9e1c428ceebb7e2fb32870f
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
module PricingExtension BASE_PRICE = "0.00" def price "9.99" end end module ShippingExtension def shipping "9.99" end end ::Trax::Core::NamedModule.new("FakeNamespace::Ecommerce", PricingExtension, ShippingExtension) do def self.some_method "blah" end end ::Trax::Core::NamedModule.new("FakeNamespace::ThingWithIncludes", :includes => [PricingExtension])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trax_core-0.0.74 | spec/support/fake_namespace/named_module_support.rb |
trax_core-0.0.73 | spec/support/fake_namespace/named_module_support.rb |