Class: Texit::Grash
- Inherits:
-
Object
- Object
- Texit::Grash
- Defined in:
- lib/texit/graph.rb
Instance Method Summary collapse
-
#initialize(tex) ⇒ Grash
constructor
A new instance of Grash.
- #url ⇒ Object
Constructor Details
#initialize(tex) ⇒ Grash
Returns a new instance of Grash.
8 9 10 |
# File 'lib/texit/graph.rb', line 8 def initialize(tex) @tex = tex end |
Instance Method Details
#url ⇒ Object
12 13 14 |
# File 'lib/texit/graph.rb', line 12 def url DOMAIN_WITH_PARTICLE + "graph/#{ @tex }.png" end |