15 lines
251 B
Ruby
15 lines
251 B
Ruby
|
module OrbitApp
|
||
|
class BackendSideBar
|
||
|
attr_reader :name
|
||
|
|
||
|
def initialize(name, &block)
|
||
|
@name = name
|
||
|
block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given?
|
||
|
end
|
||
|
|
||
|
def item(*args)
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|