module Bakery
Copyright © 2013 Nathan Currier
Use, modification, and distribution are all subject to the Boost Software License, Version 1.0. (See the accompanying file LICENSE.md or at rideliner.tk/LICENSE.html).
<description>
Copyright © 2013 Nathan Currier
Use, modification, and distribution are all subject to the Boost Software License, Version 1.0. (See the accompanying file LICENSE.md or at rideliner.tk/LICENSE.html).
<description>
Copyright © 2013 Nathan Currier
Use, modification, and distribution are all subject to the Boost Software License, Version 1.0. (See the accompanying file LICENSE.md or at rideliner.tk/LICENSE.html).
<description>
Copyright © 2013 Nathan Currier
Use, modification, and distribution are all subject to the Boost Software License, Version 1.0. (See the accompanying file LICENSE.md or at rideliner.tk/LICENSE.html).
<description>
Copyright © 2013 Nathan Currier
Use, modification, and distribution are all subject to the Boost Software License, Version 1.0. (See the accompanying file LICENSE.md or at rideliner.tk/LICENSE.html).
<description>
Constants
- ICING_SEARCH
- INGREDIENTS_DETAIL_DIR
- INGREDIENTS_DIR
- LIB_DIR
- ROOT_DIR
- VERSION
Public Class Methods
# File lib/bakery/detail/icing.rb, line 20 def [] symbol if icing = getCake.icing[symbol] icing else @globalIcing[symbol] end end
# File lib/bakery/cake.rb, line 36 def addCake cake = Cake.new @currentCake Bakery::Log.debug "entering project: #{cake.root}" @currentCake = cake end
# File lib/bakery/cake.rb, line 50 def getCake @currentCake end
# File lib/bakery/detail/marker.rb, line 29 def getLatestMarkerOfType type @markers.reverse_each { |marker| if marker.is_a? type return marker end } nil end
# File lib/bakery/detail/icing.rb, line 16 def icing @globalIcing end
# File lib/bakery/detail/marker.rb, line 39 def markers @markers end
# File lib/bakery/cake.rb, line 44 def removeCake Bakery::Log.debug "leaving project: #{@currentCake.root}" @currentCake = @currentCake.parent end
# File lib/bakery/detail/marker.rb, line 16 def removeMarkerLayerFromStack path # remove all markers that are in the current directory @markers.select! { |marker| removed = !marker.getPath.start_with?(path) if removed Bakery::Log.debug "unset #{marker.class}: #{marker.getPath}" end removed } end