./lib/dolt/git/blob.rb in dolt-0.1.0 vs ./lib/dolt/git/blob.rb in dolt-0.1.1
- old
+ new
@@ -14,18 +14,20 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++
module Dolt
- class Blob
- attr_reader :path, :raw, :repo
+ module Git
+ class Blob
+ attr_reader :path, :raw, :repo
- def initialize(path, raw)
- @path = path
- @raw = raw
- end
+ def initialize(path, raw)
+ @path = path
+ @raw = raw
+ end
- def lines
- raw.split("\n")
+ def lines
+ raw.split("\n")
+ end
end
end
end