[Groonga-commit] groonga/rabbit-theme-groonga at 0395e2e [master] Change custom instance variable name

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 21 22:01:23 JST 2013


Kouhei Sutou	2013-11-21 22:01:23 +0900 (Thu, 21 Nov 2013)

  New Revision: 0395e2ea7f5b985dde24f4f27e8356de78c6a911
  https://github.com/groonga/rabbit-theme-groonga/commit/0395e2ea7f5b985dde24f4f27e8356de78c6a911

  Message:
    Change custom instance variable name
    
    groonga_family ->
    groonga_product
            ^^^^^^^

  Modified files:
    README.rd
    theme.rb

  Modified: README.rd (+1 -1)
===================================================================
--- README.rd    2013-11-21 21:59:57 +0900 (6fcf7bd)
+++ README.rd    2013-11-21 22:01:23 +0900 (1dd1a8d)
@@ -56,7 +56,7 @@ After:
 Then put "theme.rb" to the directory that locates your slide source
 with the following content:
 
-  @groonga_family = "rroonga" # Use downcase product name
+  @groonga_product = "rroonga" # Use downcase product name
   include_theme("groonga")
 
 You will find Rroonga logo is used in your slide.

  Modified: theme.rb (+4 -4)
===================================================================
--- theme.rb    2013-11-21 21:59:57 +0900 (8b54a35)
+++ theme.rb    2013-11-21 22:01:23 +0900 (ff93fa7)
@@ -10,7 +10,7 @@
   find_font_family("モトヤLマルベリ3等幅") ||
   @font_family
 
- �� groonga_family ||= "groonga"
+ �� groonga_product ||= "groonga"
 
 colors = {
   "groonga" => {
@@ -37,7 +37,7 @@ background_color = "#ffffff"
 
 headline_bar_color = "#333333"
 
-base_color = colors[@groonga_family]
+base_color = colors[@groonga_product]
 
 set_graffiti_color("#{base_color[:foreground]}99")
 set_graffiti_line_width(30)
@@ -76,11 +76,11 @@ end
 
 include_theme("default")
 
- �� groonga_icon_images ||= ["#{@groonga_family}-icon.svg"]
+ �� groonga_icon_images ||= ["#{@groonga_product}-icon.svg"]
 @icon_images = @groonga_icon_images
 include_theme("icon")
 
- �� groonga_slide_logo_image ||= "#{@groonga_family}-icon-full-size.svg"
+ �� groonga_slide_logo_image ||= "#{@groonga_product}-icon-full-size.svg"
 @slide_logo_image = @groonga_slide_logo_image
 @slide_logo_position = Proc.new do |slide, canvas, loader|
   x = slide.margin_left
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index