Sha256: 76fb08ea1e346fe04d0e08de9cb993fc07fb87b7be23560120dc24ea07c60465

Contents?: true

Size: 415 Bytes

Versions: 16

Compression:

Stored size: 415 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

16 entries across 16 versions & 1 rubygems

Version Path
discerner-2.0.16 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.15 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.14 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.13 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.12 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.11 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.10 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.9 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.8 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.7 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.6 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.5 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.4 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.3 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.2 lib/generators/discerner/install/templates/models/book.rb
discerner-2.0.1 lib/generators/discerner/install/templates/models/book.rb