Sha256: 8fb3f093c3c26eb9731e35344d4b27f01573cfe77a662d13e0eaace1c35e397b

Contents?: true

Size: 205 Bytes

Versions: 3

Compression:

Stored size: 205 Bytes

Contents

class <%= @module_name %>::Model < Havior::Model
  
  def erb_script
    "<%= @view_name %>"
  end

  def javascripts
    ["<%= @js_path %>"]
  end
  
  def stylesheets
    ["<%= @css_path %>"]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
havior-0.1.2 lib/generators/havior/templates/haviors/model.rb.erb
havior-0.1.1 lib/generators/havior/templates/haviors/model.rb.erb
havior-0.1.0 lib/generators/havior/templates/haviors/model.rb.erb