class Lono::Blueprint::Meta
Public Class Methods
new(blueprint)
click to toggle source
# File lib/lono/blueprint/meta.rb, line 7 def initialize(blueprint) @blueprint = blueprint end
Public Instance Methods
auto_camelize?(target_section)
click to toggle source
# File lib/lono/blueprint/meta.rb, line 16 def auto_camelize?(target_section) auto_camelize = jadespec.auto_camelize # auto_camelize.nil? for backward compatibility return true if auto_camelize.nil? || auto_camelize == true if auto_camelize == "except_resource" return target_section != "resource" end if auto_camelize.is_a?(Array) auto_camelize.include?(target_section) end end
jadespec()
click to toggle source
# File lib/lono/blueprint/meta.rb, line 11 def jadespec Lono::Finder::Blueprint.find(@blueprint) end