lib/vedeu/api/menu.rb in vedeu-0.2.7 vs lib/vedeu/api/menu.rb in vedeu-0.2.8
- old
+ new
@@ -10,9 +10,11 @@
include Common
attr_reader :attributes
+ # Define a new Menu.
+ #
# @param attributes [Hash]
# @param block [Proc]
# @return [API::Menu]
def self.define(attributes = {}, &block)
new(attributes).define(&block)