polyrex-calendar 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyrex-calendar.rb +1 -1
- metadata +1 -1
data/lib/polyrex-calendar.rb
CHANGED
@@ -24,7 +24,7 @@ class PolyrexCalendar
|
|
24
24
|
def to_webpage()
|
25
25
|
|
26
26
|
# transform the xml to html
|
27
|
-
lib = File.
|
27
|
+
lib = File.dirname(__FILE__)
|
28
28
|
|
29
29
|
doc = Nokogiri::XML(@xml)
|
30
30
|
xslt = Nokogiri::XSLT(File.open(lib + '/calendar.xsl','r').read)
|