Sha256: 27ff465bbe9481403e28649716f81821bc6d910f11d7e8b58a492ee398eb7226
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
module Merb::Test::Fixtures module Controllers class Testing < Merb::Controller self._template_root = File.dirname(__FILE__) / "views" end module Inclusion def self.included(base) base.show_action(:baz) end def baz "baz" end def bat "bat" end end class Base < Testing include Inclusion def index self.status = :ok "index" end def hidden "Bar" end hide_action :hidden end end end
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
thorero-0.9.4.5 | spec/public/controller/controllers/base.rb |
merb-core-0.9.4 | spec/public/controller/controllers/base.rb |
thorero-core-0.9.4.6 | spec/public/controller/controllers/base.rb |