From 65264b289b50d0205f563ae88b8af3dbaf039d88 Mon Sep 17 00:00:00 2001 From: kariminf Date: Sat, 13 Oct 2018 20:59:00 +0100 Subject: [PATCH] first edition: some fixes2 --- book/classObject.tex | 2 +- book/oop4coders.tex | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/book/classObject.tex b/book/classObject.tex index 53bb07c..1b4a680 100644 --- a/book/classObject.tex +++ b/book/classObject.tex @@ -445,7 +445,7 @@ \subsection{Python} \subsection{Ruby} -Static fields are defined inside the class block using \keyword[Ruby]{\@\@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{\@}. +Static fields are defined inside the class block using \keyword[Ruby]{@@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{@}. \lstinputlisting[language={[KB]Ruby}, linerange={3-9,11-11,25-25}, style=codeStyle]{../codes/ruby/clsobj/person.rb} diff --git a/book/oop4coders.tex b/book/oop4coders.tex index 44ba2ec..dfa5350 100644 --- a/book/oop4coders.tex +++ b/book/oop4coders.tex @@ -15,7 +15,7 @@ \cover{../img/cover.jpg} \license{../img/cc-by-sa.png} -%\setplainversion +\setplainversion \begin{document} @@ -65,6 +65,7 @@ \addcontentsline{toc}{chapter}{Index} \cleardoublepage +\pagestyle{empty} \vspace*{\fill} \Huge\color{indigo} \begin{center}