Sha256: 6f5ccf70c39830a0bdc07872ade47a61f9afebccdaeb116ea789c17f558cfef0

Contents?: true

Size: 580 Bytes

Versions: 6

Compression:

Stored size: 580 Bytes

Contents

require 'crystal/version'
require 'crystal/meta'
require 'crystal/options_for_controller'
require 'crystal/tags'
require 'crystal/interpolates_tags'
require 'crystal/tag'
require 'crystal/hash_with_stringify_keys'
require 'crystal/view_helpers'
require 'crystal/controller_extensions'
require 'crystal/railtie' if defined?(Rails)

module Crystal
  def self.setup_action_controller(base)
    base.class_eval do
      include Crystal::ControllerExtensions
    end
  end

  def self.setup_action_view(base)
    base.class_eval do
      include Crystal::ViewHelpers
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
crystalmeta-1.0.0 lib/crystalmeta.rb
crystalmeta-0.9.4 lib/crystalmeta.rb
crystalmeta-0.9.3 lib/crystalmeta.rb
crystalmeta-0.9.2 lib/crystalmeta.rb
crystalmeta-0.9.1 lib/crystalmeta.rb
crystalmeta-0.9.0 lib/crystalmeta.rb