rabl-rails/lib/rabl-fast-json/helpers.rb
2012-03-02 14:39:20 +01:00

11 lines
187 B
Ruby

module RablFastJson
module Helpers
def root_given?(options)
options[:root].present?
end
def partial_given?(options)
options[:partial].present?
end
end
end