lib/taza/page.rb in bret-watircraft-0.4.2 vs lib/taza/page.rb in bret-watircraft-0.4.3
- old
+ new
@@ -195,9 +195,10 @@
# Return the full url expected for the page, taking into account the Site
# and settings.
def full_url
File.join(@site.origin, self.class.url)
end
+ alias :url :full_url
# Enter values into fields on the page using a hash, using the key of
# each pair to name the field.
def populate hash
hash.each do |key, value|