Sha256: addaffa7e5940ea1a36a23f36cd2720492f862155aa82540c5cda053cd47632b

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module AngularSprinkles
  module Directive
    class Html
      def initialize(args)
        @args = args.symbolize_keys
      end

      def attributes
        @args.except(:tag)
      end

      def tag
        @args[:tag] || :div
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_sprinkles-0.0.6 lib/angular_sprinkles/directive/html.rb