Sha256: 813c2a98dc13a7e2a6bd458b56f9705e133ff7755c0f7a587134a23cdfd1dda8

Contents?: true

Size: 871 Bytes

Versions: 9

Compression:

Stored size: 871 Bytes

Contents

require "active_admin/arbre/builder"
require "active_admin/arbre/core_extensions"
require "active_admin/arbre/context"
require "active_admin/arbre/html/element"
require "active_admin/arbre/html/attributes"
require "active_admin/arbre/html/collection"
require "active_admin/arbre/html/class_list"
require "active_admin/arbre/html/tag"
require "active_admin/arbre/html/document"
require "active_admin/arbre/html/html5_elements"
require "active_admin/arbre/html/text_node"

# Arbre - The DOM Tree in Ruby
#
# Arbre is a ruby library for building HTML in pure Object Oriented Ruby
module Arbre
end

require 'action_view'

ActionView::Template.register_template_handler :arb, lambda { |template|
  "self.class.send :include, Arbre::Builder; @_helpers = self; @__current_dom_element__ = Arbre::Context.new(assigns, self); begin; #{template.source}; end; current_dom_context"
}

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
andrewroth_activeadmin-0.3.4.3 lib/active_admin/arbre.rb
andrewroth_activeadmin-0.3.4.2 lib/active_admin/arbre.rb
andrewroth_activeadmin-0.3.4.1 lib/active_admin/arbre.rb
andrewroth_activeadmin-0.3.4 lib/active_admin/arbre.rb
activeadmin-0.3.4 lib/active_admin/arbre.rb
activeadmin-0.3.3 lib/active_admin/arbre.rb
activeadmin-0.3.2 lib/active_admin/arbre.rb
activeadmin-0.3.1 lib/active_admin/arbre.rb
activeadmin-0.3.0 lib/active_admin/arbre.rb