lib/docman/info.rb in docman-0.0.6 vs lib/docman/info.rb in docman-0.0.7
- old
+ new
@@ -96,7 +96,11 @@
return self['actions'][type][hook]
end
[]
end
+ def environment
+ self['docroot_config'].deploy_target['environments'][self['state']]
+ end
+
end
end
\ No newline at end of file