Sha256: ff8ef39eb8c873230faf99744cbf3677d32d4d358b2e324dbe26e69ea0dcd134

Contents?: true

Size: 142 Bytes

Versions: 3

Compression:

Stored size: 142 Bytes

Contents

module Crystal
  class ControllerContext < TemplateContext
    def controller
      workspace.controller.must_be.defined
    end    
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
crystal-0.0.13 lib/crystal/controller/controller_context.rb
crystal-0.0.12 lib/crystal/controller/controller_context.rb
crystal_ext-0.0.11 lib/crystal/controller/controller_context.rb