Sha256: 1c8bb0868124392674be996b4fe84bba584ab75e9d7e89e387f18fd8a03aa5ea

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

module Gumdrop
  
  module ViewHelpers
    
    def hidden(&block)
      #no-op
    end
    
    def markdown(source)
      m= Tilt['markdown'].new { source }
      m.render
    end
    
    
    def gumdrop_version
      ::Gumdrop::VERSION
    end
    
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gumdrop-0.2.11 lib/gumdrop/view_helpers.rb
gumdrop-0.2.10 lib/gumdrop/view_helpers.rb
gumdrop-0.2.9 lib/gumdrop/view_helpers.rb
gumdrop-0.2.8 lib/gumdrop/view_helpers.rb
gumdrop-0.2.7 lib/gumdrop/view_helpers.rb