lib/volt/server/rack/component_code.rb in volt-0.8.15 vs lib/volt/server/rack/component_code.rb in volt-0.8.16
- old
+ new
@@ -4,11 +4,11 @@
# Takes in the name and all component paths and has a .code
# method that returns all of the ruby setup code for the component.
module Volt
class ComponentCode
- def initialize(component_name, component_paths, client=true)
+ def initialize(component_name, component_paths, client = true)
@component_name = component_name
@component_paths = component_paths
@client = client
end
@@ -19,9 +19,9 @@
asset_files.component_paths.each do |component_path, component_name|
code << ComponentTemplates.new(component_path, component_name, @client).code
code << "\n\n"
end
- return code
+ code
end
end
end