Sha256: 86377dcf83ef93a73624792838de8950def9dc5ccd1f46cc44155cb0d71eb804
Contents?: true
Size: 270 Bytes
Versions: 3
Compression:
Stored size: 270 Bytes
Contents
require 'mustache' require 'alephant/views' module Alephant::Views class Base < Mustache attr_accessor :data def initialize(data = {}) @data = data end def self.inherited(subclass) ::Alephant::Views.register(subclass) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alephant-renderer-0.0.4.1 | lib/alephant/views/base.rb |
alephant-renderer-0.0.4 | lib/alephant/views/base.rb |
alephant-renderer-0.0.3 | lib/alephant/views/base.rb |