Sha256: 4990de1a942ac22b87ea7a17675a9be68cab00f5ac9434f8770e177735cf508e

Contents?: true

Size: 460 Bytes

Versions: 7

Compression:

Stored size: 460 Bytes

Contents

class Book
  def self.genres
    [
      {:name => 'Adventure', :unique_identifier => 'adventure', :display_order => 1, :collapse => true},
      {:name => 'Drama', :unique_identifier => 'drama', :display_order => 2, :collapse => false},
    ]
  end

  def self.generes
    [
      {:name => 'Adventure', :display_order => 1, :collapse => true},
      {:name => 'Drama', :unique_identifier => 'drama', :display_order => 2, :collapse => false},
    ]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
discerner-1.2.2 lib/generators/discerner/install/templates/models/book.rb
discerner-1.2.1 lib/generators/discerner/install/templates/models/book.rb
discerner-1.2.0 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.0 lib/generators/discerner/install/templates/models/book.rb
discerner-1.1.20 lib/generators/discerner/install/templates/models/book.rb
discerner-1.1.19 lib/generators/discerner/install/templates/models/book.rb
discerner-1.1.18 lib/generators/discerner/install/templates/models/book.rb