Sha256: f415ff72083821668b08c32977cae3be3d4f89ce74a2f1c21dc32c972fe48943
Contents?: true
Size: 378 Bytes
Versions: 31
Compression:
Stored size: 378 Bytes
Contents
Dir.glob(File.join(File.dirname(__FILE__), 'cartons', '*.rb')).each {|f| require f } Dir.glob(File.join(File.dirname(__FILE__), 'resources', '*.rb')).each {|f| require f } module Orange::Plugins class News < Base views_dir File.join(File.dirname(__FILE__), 'views') resource Orange::NewsResource.new end end Orange.plugin(Orange::Plugins::News.new)
Version data entries
31 entries across 31 versions & 2 rubygems