This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/lib/orbit_app/dsl.rb

26 lines
584 B
Ruby
Raw Permalink Normal View History

2012-09-13 10:31:44 +00:00
module OrbitApp
module DSL
def registration(name,type ={:type=> "ModuleApp"} ,&block)
if type[:type] == "ModuleApp"
Module::Registration.new(name,&block)
elsif type[:type] == "PersonalPlugin"
Plugin::Registration.new(name,&block)
end
2012-09-13 10:31:44 +00:00
end
# def backend_side_bar(name,&block)
# Module::BackendSideBar.new(name,&block)
# end
# def plugin_summary(name,&block)
# # Plugin::PluginSummary.new(name,&block)
# end
# def module_summary(name,&block)
# Module::Summary.new(name,&block)
# end
2012-09-13 10:31:44 +00:00
end
end