lib/ProMotion/tabs/tabs.rb in ProMotion-2.6.1 vs lib/ProMotion/tabs/tabs.rb in ProMotion-2.7.0
- old
+ new
@@ -103,21 +103,20 @@
most_viewed: UITabBarSystemItemMostViewed
}
@_tab_symbols[symbol] || symbol
end
- module TabClassMethods
+ module ClassMethods
def tab_bar_item(args={})
@tab_bar_item = args
end
def get_tab_bar_item
@tab_bar_item
end
end
def self.included(base)
- base.extend(TabClassMethods)
+ base.extend(ClassMethods)
end
-
end
end